xen: Use typesafe gfn in xenmem_add_to_physmap_one
authorJulien Grall <julien.grall@arm.com>
Tue, 28 Jun 2016 16:17:08 +0000 (17:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Jun 2016 18:19:36 +0000 (19:19 +0100)
commit29118c726d75298f37ac5325051e4155574a6270
treeb8840f735b89ecfd1b5ca09b1ca28373af939160
parent27d363c133155f3d9b9849aedf2fc863eeedb5db
xen: Use typesafe gfn in xenmem_add_to_physmap_one

The x86 version of the function xenmem_add_to_physmap_one contains
variable name gpfn and gfn which make the code very confusing.
I have left unchanged for now.

Also, rename gpfn to gfn in the ARM version as the latter is the correct
acronym for a guest physical frame.

Finally, remove the trailing whitespace around the changes.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c
xen/arch/x86/mm.c
xen/common/memory.c
xen/include/xen/mm.h